aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/[username]/invoice
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-01-02 21:42:23 -0800
committerAdam Soltys <[email protected]>2024-01-02 21:48:52 -0800
commit189b81aa457a49f65262d76c793bada4a71d8ba6 (patch)
treecdf036740aba7baa9e1e1596abdc49d85ee95bf5 /src/routes/(app)/[username]/invoice
parent9e029607f30f269b7bacc843ea7313f4246b1570 (diff)
downloadcoinos-ui-189b81aa457a49f65262d76c793bada4a71d8ba6.tar.gz
coinos-ui-189b81aa457a49f65262d76c793bada4a71d8ba6.zip
invoice styles
Diffstat (limited to 'src/routes/(app)/[username]/invoice')
-rw-r--r--src/routes/(app)/[username]/invoice/[id]/+page.svelte11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/routes/(app)/[username]/invoice/[id]/+page.svelte b/src/routes/(app)/[username]/invoice/[id]/+page.svelte
index e12e3913..a7a7b26d 100644
--- a/src/routes/(app)/[username]/invoice/[id]/+page.svelte
+++ b/src/routes/(app)/[username]/invoice/[id]/+page.svelte
@@ -171,6 +171,7 @@
<button
class="hover:bg-primary my-auto flex gap-1 sm:gap-2 py-3 px-2 sm:px-5 rounded-full"
class:bg-primary={type === types.bitcoin}
+ class:text-black={type === types.bitcoin}
on:click={() => setType(types.bitcoin)}
>
<img src="/images/bitcoin.svg" class="w-8" alt="Bitcoin" />
@@ -180,6 +181,7 @@
<button
class="hover:bg-primary my-auto flex gap-1 sm:gap-2 py-3 px-2 sm:px-5 rounded-full"
class:bg-primary={type === types.liquid}
+ class:text-black={type === types.liquid}
on:click={() => setType(types.liquid)}
>
<img src="/images/liquid.svg" class="w-8" alt="Liquid" />
@@ -189,6 +191,7 @@
<button
class="hover:bg-primary flex gap-1 sm:gap-2 py-3 px-2 sm:px-5 rounded-full"
class:bg-primary={type === types.lightning}
+ class:text-black={type === types.lightning}
on:click={() => setType(types.lightning)}
>
<div class="bg-white rounded-full w-8 h-8 text-center flex">
@@ -200,21 +203,21 @@
{#if type === types.liquid}
<div class="flex justify-center">
- <div class="my-auto text-xl text-center">
+ <div class="my-auto text-xl text-center text-secondary">
We only support <span class="text-teal-500 font-bold">L-BTC</span>,
- don't deposit any other assets
+ don't deposit other assets yet
</div>
</div>
{/if}
<button
type="button"
- class="flex gap-2 text-center break-all text-lg rounded-full hover:opacity-80 p-4 w-full mx-auto justify-center border text-secondary"
+ class="flex gap-2 text-center break-all text-lg rounded-full hover:opacity-80 p-4 w-full mx-auto justify-center border text-black text-xl"
on:click={() => copy(txt)}
>
<Icon icon="copy" style="w-8 my-auto font-semibold" />
<div class="my-auto">
- {txt.substr(0, 10)}..{txt.substr(-12)}
+ {txt.substr(0, 11)}..{txt.substr(-11)}
</div>
</button>